Enter a problem...
Linear Algebra Examples
2x+5y=-42x+5y=−4 , 3x-y=113x−y=11
Step 1
Find the AX=BAX=B from the system of equations.
[253-1]⋅[xy]=[-411][253−1]⋅[xy]=[−411]
Step 2
Step 2.1
The inverse of a 2×22×2 matrix can be found using the formula 1ad-bc[d-b-ca]1ad−bc[d−b−ca] where ad-bcad−bc is the determinant.
Step 2.2
Find the determinant.
Step 2.2.1
The determinant of a 2×22×2 matrix can be found using the formula |abcd|=ad-cb∣∣∣abcd∣∣∣=ad−cb.
2⋅-1-3⋅52⋅−1−3⋅5
Step 2.2.2
Simplify the determinant.
Step 2.2.2.1
Simplify each term.
Step 2.2.2.1.1
Multiply 22 by -1−1.
-2-3⋅5−2−3⋅5
Step 2.2.2.1.2
Multiply -3−3 by 55.
-2-15−2−15
-2-15−2−15
Step 2.2.2.2
Subtract 1515 from -2−2.
-17−17
-17−17
-17−17
Step 2.3
Since the determinant is non-zero, the inverse exists.
Step 2.4
Substitute the known values into the formula for the inverse.
1-17[-1-5-32]1−17[−1−5−32]
Step 2.5
Move the negative in front of the fraction.
-117[-1-5-32]−117[−1−5−32]
Step 2.6
Multiply -117−117 by each element of the matrix.
[-117⋅-1-117⋅-5-117⋅-3-117⋅2][−117⋅−1−117⋅−5−117⋅−3−117⋅2]
Step 2.7
Simplify each element in the matrix.
Step 2.7.1
Multiply -117⋅-1−117⋅−1.
Step 2.7.1.1
Multiply -1−1 by -1−1.
[1(117)-117⋅-5-117⋅-3-117⋅2]⎡⎢⎣1(117)−117⋅−5−117⋅−3−117⋅2⎤⎥⎦
Step 2.7.1.2
Multiply 117117 by 11.
[117-117⋅-5-117⋅-3-117⋅2][117−117⋅−5−117⋅−3−117⋅2]
[117-117⋅-5-117⋅-3-117⋅2][117−117⋅−5−117⋅−3−117⋅2]
Step 2.7.2
Multiply -117⋅-5−117⋅−5.
Step 2.7.2.1
Multiply -5−5 by -1−1.
[1175(117)-117⋅-3-117⋅2]⎡⎢⎣1175(117)−117⋅−3−117⋅2⎤⎥⎦
Step 2.7.2.2
Combine 55 and 117117.
[117517-117⋅-3-117⋅2][117517−117⋅−3−117⋅2]
[117517-117⋅-3-117⋅2][117517−117⋅−3−117⋅2]
Step 2.7.3
Multiply -117⋅-3−117⋅−3.
Step 2.7.3.1
Multiply -3−3 by -1−1.
[1175173(117)-117⋅2]⎡⎢⎣1175173(117)−117⋅2⎤⎥⎦
Step 2.7.3.2
Combine 33 and 117117.
[117517317-117⋅2][117517317−117⋅2]
[117517317-117⋅2][117517317−117⋅2]
Step 2.7.4
Multiply -117⋅2−117⋅2.
Step 2.7.4.1
Multiply 22 by -1−1.
[117517317-2(117)]⎡⎢⎣117517317−2(117)⎤⎥⎦
Step 2.7.4.2
Combine -2−2 and 117117.
[117517317-217][117517317−217]
[117517317-217][117517317−217]
Step 2.7.5
Move the negative in front of the fraction.
[117517317-217][117517317−217]
[117517317-217][117517317−217]
[117517317-217][117517317−217]
Step 3
Left multiply both sides of the matrix equation by the inverse matrix.
([117517317-217]⋅[253-1])⋅[xy]=[117517317-217]⋅[-411]([117517317−217]⋅[253−1])⋅[xy]=[117517317−217]⋅[−411]
Step 4
Any matrix multiplied by its inverse is equal to 11 all the time. A⋅A-1=1A⋅A−1=1.
[xy]=[117517317-217]⋅[-411][xy]=[117517317−217]⋅[−411]
Step 5
Step 5.1
Two matrices can be multiplied if and only if the number of columns in the first matrix is equal to the number of rows in the second matrix. In this case, the first matrix is 2×22×2 and the second matrix is 2×12×1.
Step 5.2
Multiply each row in the first matrix by each column in the second matrix.
[117⋅-4+517⋅11317⋅-4-217⋅11][117⋅−4+517⋅11317⋅−4−217⋅11]
Step 5.3
Simplify each element of the matrix by multiplying out all the expressions.
[3-2][3−2]
[3-2][3−2]
Step 6
Simplify the left and right side.
[xy]=[3-2][xy]=[3−2]
Step 7
Find the solution.
x=3x=3
y=-2y=−2